package com.common.queueloader
{
	import com.common.queueloader.items.*;		import flash.utils.Dictionary;	public class ItemList 
	{
		
		public static var itemType:Dictionary = new Dictionary();
		
		public static function initItems():Boolean
		{
			itemType[QueueLoader.FILE_XML] =  {classRef:XMLItem, 	regEx:"xml"};
			//itemType[QueueLoader.FILE_ZIP] =  {classRef:ZipItem, 	regEx:"zip"};
			itemType[QueueLoader.FILE_TGA] =  {classRef:BinaryItem, regEx:"tga"};
			itemType[QueueLoader.FILE_LZM] =  {classRef:BinaryItem, regEx:"lzm"};
			itemType[QueueLoader.FILE_JPG] =  {classRef:ImageItem, 	regEx:"jpg"};
			itemType[QueueLoader.FILE_PNG] =  {classRef:ImageItem, 	regEx:"png"};
			itemType[QueueLoader.FILE_SWF] =  {classRef:SwfItem, 	regEx:"swf"};
			itemType[QueueLoader.FILE_CSV] =  {classRef:BinaryItem, regEx:"csv"};
			itemType[QueueLoader.FILE_TXT] =  {classRef:XMLItem, regEx:"txt"};
			return true;
		}	}}